package pojo;

import java.util.Date;

/**
 * Weeksummary entity. @author MyEclipse Persistence Tools
 */

public class Weeksummary implements java.io.Serializable {

	// Fields

	private long summaryId;
	private User user;
	private Date summaryDate;
	private String summaryTitle;
	private String summaryContent;
	private String comment;

	// Constructors

	/** default constructor */
	public Weeksummary() {
	}

	/** full constructor */
	public Weeksummary(User user, Date summaryDate, String summaryTitle,
			String summaryContent, String comment) {
		this.user = user;
		this.summaryDate = summaryDate;
		this.summaryTitle = summaryTitle;
		this.summaryContent = summaryContent;
		this.comment = comment;
	}

	// Property accessors

	public long getSummaryId() {
		return this.summaryId;
	}

	public void setSummaryId(long summaryId) {
		this.summaryId = summaryId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Date getSummaryDate() {
		return this.summaryDate;
	}

	public void setSummaryDate(Date summaryDate) {
		this.summaryDate = summaryDate;
	}

	public String getSummaryTitle() {
		return this.summaryTitle;
	}

	public void setSummaryTitle(String summaryTitle) {
		this.summaryTitle = summaryTitle;
	}

	public String getSummaryContent() {
		return this.summaryContent;
	}

	public void setSummaryContent(String summaryContent) {
		this.summaryContent = summaryContent;
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

}